package com.cwm.test.adapter.v2.adapter;

import com.cwm.test.adapter.v2.PassportService;
import com.cwm.test.adapter.v2.ResultMsg;

public class LoginForTokenAdapter extends AbstractLoginAdapter {
    @Override
    public boolean support(Object adapter) {
        return adapter instanceof LoginForTokenAdapter;
    }

    @Override
    public ResultMsg login(String openid, Object adapter) {
        return super.loginForRegister(openid, null);
    }
}
